import { axios } from '~/plugins/axios';

// 政策列表
export const getList = (params?: any) => axios({
  method: 'get',
  url: '/policy/list',
  params,
}) as Promise<any>;

// 政策列表 - 删除
export const deleteItem = (params?: any) => axios({
  method: 'delete',
  url: '/policy/delete',
  // data: {
  //   ...params,
  // },
  data: params,
}) as Promise<any>;
